package com.ls.fw.open.support;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.method.HandlerMethod;

import com.ls.fw.commons.open.OpenException;

public interface Validater {

	public boolean validate(HttpServletRequest request,
			HttpServletResponse response,Map<String,String> map, HandlerMethod handler);

	public void fireException(HttpServletRequest request,
			HttpServletResponse response, OpenException e);

	public boolean isMatch(HttpServletRequest request,
			HttpServletResponse response, HandlerMethod handler);
}
